<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<form action="/login" method="post">
  <input type="text" name="name"><span th:text="${msg}"></span><br>
  <input type="text" name="pass"><br>
  <input type="submit" id="submit" value="登录">
</form>
</body>
</html>